﻿using Autofac.Extras.DynamicProxy;
using Common.AutofaExt;
using Common.AutofaExt.AOP;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    //[Intercept(typeof(CusotmInterceptor))]
    //[Intercept(typeof(CusotmLogInterceptor))]
    //[Intercept(typeof(CusotmCacheInterceptor))]

    [Intercept(typeof(CustomerInterceptor))]
    public interface IPhone
    {

        

        void Call();

        void Text();

        void Init123456678890(IPower iPower);

        IMicrophone Microphone { get; set; }
        IHeadphone Headphone { get; set; }
        IPower Power { get; set; }
        ParameterInfo QueryUser(ParameterInfo opara);
    }
}
